package org.example.factory.before;

/**
 * @Author KEKE
 * @Date 2024/7/1 9:35
 * @Description 测试类
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        //1,创建咖啡店类
        CoffeeStore coffeeStore = new CoffeeStore();
        //2，点咖啡
        Coffee coffee = coffeeStore.orderCoffee("latter");
        System.out.println(coffee.getName());
    }
}
